StupidBeauty
Read times:504Posted at:Sun Dec 16 22:38:31 2012
- no title specified

转载 [AS3] 请问如何用as3改变背景颜色?

精灵的graphics属性绘制出来的东西都是位于它的后代对象的后面的,因此可做到背景的效果。

http://bbs.blueidea.com/thread-2889528-1-1.html

亮点

var _color = 0x000000;
var _alpha = 1;
graphics.beginFill(_color,_alpha);
graphics.drawRect(0,0,stage.stageWidth,stage.stageHeight);
graphics.endFill();

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands